package cn.foo.web;

import java.io.IOException;
import java.net.Socket;

/**
 * 客户端
 * @author Frank
 * @date 07-03
 */
public class ClientDemo {
    public static void main(String[] args) {
        try {
            Socket socket = new Socket("172.22.8.127",8888);
            System.out.println("客户端连接成功！！");
            socket.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
